package io.adrainty.bolee.insurance.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * <p>ConditionBO</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 分类项
 * @since 2025/8/11 11:22:30
 */

@Data
@Schema(description = "分类项")
@EqualsAndHashCode(callSuper = true)
@TableName("tab_category")
public class CategoryBO extends BaseBO {
    
    @Serial
    private static final long serialVersionUID = 6217544692451044106L;

    @Schema(description = "父分类编号")
    private String parentCategoryNo;

    @Schema(description = "分类编号")
    private String categoryNo;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "是否叶子节点（0是 否1）")
    private String leafNode;

    @Schema(description = "是否显示在首页（0是 否1）")
    private String showIndex;

    @Schema(description = "分类类型：0推荐分类  1产品分类 ")
    private String categoryType;

    @Schema(description = "排序")
    private Integer sortNo;

    @Schema(description = "校验规则：0医疗 1重疾 2意外 3养老 4储蓄 5旅游 6宠物 7定寿")
    private String checkRule;

    @Schema(description = "数据状态：0正常 1禁用")
    private EnableEnum dataState;

}
